import pygal

worldmap_chart = pygal.maps.world.World()
worldmap_chart.title = 'Some countries'
worldmap_chart.add('North America', {'cn':32343545,'us':2344565,'mx':2344546})

worldmap_chart.render_to_file('a.svg')